package com.hdaccp.letting.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.hdaccp.letting.dao.UserInfoDao;
import com.hdaccp.letting.entity.Userinfo;
import com.hdaccp.letting.service.UserInforService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserInfoServiceImpl implements UserInforService {
    @Resource
    private UserInfoDao userInfoDao ;
    @Override
    public List<Userinfo> query() {
        return userInfoDao.queryAll();
    }
}
